// 导入axios
import request from '@/utils/request.js'

// 学科列表
export const getSimple = data => {
  return request({
    method: 'GET',
    url: '/subjects/simple',
    data
  })
}
// 目录列表
export const getDirectorys = data => {
  return request({
    method: 'GET',
    url: '/directorys',
    data
  })
}
// 标签列表
export const getTags = data => {
  return request({
    method: 'GET',
    url: '/tags',
    data
  })
}
